package com.seawaterbt.ssm.config;

import com.zaxxer.hikari.HikariDataSource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *  * @param
 *  * @author bin.wang
 *  * @return
 *  * @Date
 *  * @Time 16:19
 */
@Component
@ConfigurationProperties(prefix = "spring.datasource.hikari")
@Data
public class DBProperties {
    private HikariDataSource db1;
    private HikariDataSource db2;
}
